<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta http-equiv="pragma" content="no-cache" />
	<link rel="stylesheet" href="/css/style.css" type="text/css"/>
	<script type="text/javascript" src="/js/jquery.js"></script>
</head>
<script type="text/javascript">
//////////////////////////////////////////////////////////////////////
////  email = "wenpin.qian@happyelements.com"                     ////
////  team = "Athene"                                             ////
////  warnings = "This is generated page,Do Not Modify!";         ////
////  tips = "Opera & IE not supported|Chrome & Safari sugguested"////
//////////////////////////////////////////////////////////////////////
var mapId = window.dialogArguments;
var getmapUrl = "/map/get/";
var editmapUrl = "/map/edit/";
$(document).ready(function() {
	$.ajax({
		   type: "GET",
		   url: getmapUrl,
		   data: "mapId=" + mapId,
		   dataType: "json",
		   success: function(data) {
			   if(data.code > 0) {
				   var result = data.result;
				   $("#mapId").html(result.mapId);
				   $("#deployId").html(result.deployId);
				   $("#name").html('"'+result.name+'"');				   $("#campaignIds").html(result.campaignIds);				   $("#mapres").html(result.mapres);				   				   
			   }else {
				   errDialog(data.message);
			   }
		   }
	});
});

</script>
<body>
<div class="json">
{<br/>
<span class="jsonkey">mapId:</span><span id="mapId"></span>,<br/>
<span class="jsonkey">deployId:</span><span id="deployId"></span>,<br/>
<span class="jsonkey">name:</span><span id="name" class="jsonvalue"></span>,<br/>
<span class="jsonkey">campaignIds:</span><span id="campaignIds" class="jsonvalue"></span>,<br/>
<span class="jsonkey">mapres:</span><span id="mapres" class="jsonvalue"></span><br/>
</br>
}
</div>
</body>